-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: add fury serializer support #7038
Conversation
# Conflicts: # core/src/main/java/org/apache/seata/core/serializer/SerializerType.java
# Conflicts: # dependencies/pom.xml
# Conflicts: # changes/en-us/2.x.md # changes/zh-cn/2.x.md
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 2.x #7038 +/- ##
============================================
+ Coverage 52.66% 52.67% +0.01%
- Complexity 6688 6697 +9
============================================
Files 1132 1134 +2
Lines 40286 40310 +24
Branches 4724 4724
============================================
+ Hits 21215 21234 +19
- Misses 17039 17042 +3
- Partials 2032 2034 +2
|
try { | ||
return (T) threadSafeFury.deserialize(bytes); | ||
} catch (Exception e) { | ||
e.printStackTrace(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
应该将其输出为error日志,或者抛出异常
It should be output as an error log, or an exception should be thrown
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code for the test exception was not completely cleaned up. Done
dependencies/pom.xml
Outdated
@@ -879,6 +882,12 @@ | |||
<version>${rocketmq-version}</version> | |||
</dependency> | |||
|
|||
<!-- Fury Serialize --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need to be declared in the seata-all pom?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not the pom.xml of the seata-all module, but the seata-dependencies module.
# Conflicts: # changes/en-us/2.x.md # changes/zh-cn/2.x.md
…ture-fury-serialize # Conflicts: # changes/en-us/2.x.md # changes/zh-cn/2.x.md
# Conflicts: # changes/en-us/2.x.md # changes/zh-cn/2.x.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ⅰ. Describe what this PR did
Add support for serializing rpc messages using Fury
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
set transport.serialization=fury
Ⅴ. Special notes for reviews